home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 6 / MacMania 6.toast / / Multimedia & Desktop / sk8 / SK8InJava / Code / AppletGlue.java next >
Encoding:
Java Source  |  1997-02-27  |  784 b   |  38 lines  |  [TEXT/CWIE]

  1. /*  SK8 © 1997 Apple Computer, Inc.
  2.     This code is protected under the current SK8 License
  3.     See http://sk8.research.apple.com/ for more information
  4.     Apple Research Laboratories
  5. */
  6. import java.awt.*;
  7. import java.applet.Applet;
  8. import java.util.Random;
  9.  
  10. // This code is to be used by a graphical applets.
  11. public class SK8InJava extends Applet {
  12.     
  13.     public void init()
  14.     {
  15.         sk8.currentApplet = this;
  16.  
  17.         stagecanvas p;
  18.         setLayout( new BorderLayout() );
  19.         
  20.         
  21.         p = new stagecanvas();
  22.         add( "Center", p );
  23.         sk8.stage = p.stageActor;
  24.  
  25.         // run project setup
  26.         // replace the following with your projects
  27.         // static function for setting up it's globals.
  28.         sk8concentration.setup();
  29.         
  30.         //and draw it
  31.         p.repaint();
  32.     }
  33.     
  34.     public static void main(String args[]) {
  35.     
  36.     }
  37.  
  38. }